using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using THSERP.BusinessEntities;using THSERP.BaseProvider;

namespace THSERP.Modules.Item.UI
{
	/// <summary>
	/// Summary description for DMIT100
	/// </summary>
	public partial class DMIT100 : THSERPScreen
	{

		public DMIT100()
		{
			//
			// Required designer variable
			//
			InitializeComponent();
		}

        private void fld_btnButton2_Click(object sender, EventArgs e)
        {
            ((Modules.Item.ItemModule)this.Module).ShowCategoryTree();
        }

        private void btnAddICProductQuantitative_Click(object sender, EventArgs e)
        {
            ((Modules.Item.ItemModule)this.Module).AddProductQuantitativeToList();
        }

        private void btnChangeICProductQuantitative_Click(object sender, EventArgs e)
        {
            ((Modules.Item.ItemModule)this.Module).ChangeProductQuantitativeFromList();
        }

        private void btnRemoveICProductQuantitative_Click(object sender, EventArgs e)
        {
            ((Modules.Item.ItemModule)this.Module).RemoveProductQuantitativeFromList();
        }

        private void fld_lkeFK_ICProductMaterialID_Validated(object sender, EventArgs e)
        {
            ((Modules.Item.ItemModule)this.Module).THSProductLookupEdit_Validated(sender, e);
        }

        private void fld_txtICProductQuantitativeQty_Validated(object sender, EventArgs e)
        {
            ((Modules.Item.ItemModule)this.Module).ProductQtyTextEdit_Validated(sender, e);
        }

        private void fld_lblProductType_Click(object sender, EventArgs e)
        {
            ((Modules.Item.ItemModule)this.Module).ProductTypeLabelView();
            ((Modules.Item.ItemModule)this.Module).ProductTypeLabel_Click(sender, e);
        }
	}
}
